{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">
	IF("{LOGGEDIN}"=="0"){<a href="{SITE_URL}signup.php">{LANG_JOIN}</a><br><a href="{SITE_URL}login.php">{LANG_LOGIN}</a><br>{:IF}
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}editprofile.php">{LANG_EDITPROFILE}</a><br>{:IF}
      <a href="{SITE_URL}add_story.php">{LANG_SUBMITS}</a><br>
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}logout.php">{LANG_LOGOUT}</a><br>{:IF}
      <br>
	  <strong>{LANG_CATS}</strong><br>
      <br>

      {LOOP: CATS}
	  IF("{CATS.parent_id}"!="0"){&nbsp;&nbsp;{:IF}
	  <a href="{CATS.cat_url}">{CATS.cat_title}</a><br>
	  {/LOOP: CATS}
	  <br>
    <br></td>
    <td valign="top">
	<table width="100%" cellpadding="0" cellspacing="0">
	<tr><td width="60" align="left" valign="top"><table border="0" cellspacing="0" cellpadding="0"><tr><td background="{SITE_URL}templates/{TPL_NAME}/images/digg_back.jpg"><table width="52" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td align="center" height="28" valign="bottom"><div class="digs" id="numdigs{STORY_ID}">{STORY_DIGS}</div></td>
      </tr>
	  <tr>
	  <td height="24" align="center" valign="middle"><span class="digg">{LANG_DIGGS}</span></td>
	  </tr>
      <tr>
        <td height="2"></td>
      </tr>
      <tr>
           <td height="25" align="center"><div class="digit" id="digbut{STORY_ID}">IF("{USER_DUGG}"=="1"){{LANG_DUGG}{:IF}IF("{USER_DUGG}"=="0"){<a href="javascript:dig({STORY_ID});">{LANG_DIGIT}</a>{:IF}</div></td>
      </tr>
    </table></td>
    </tr></table></td>
	<td valign="top">
	  <table width="100%" height="70"  border="0" cellpadding="0" cellspacing="0">
        <tr>
          <td valign="top"><a href="{STORY_URL}">{STORY_TITLE}</a></td>
        </tr>
		<tr>
		<td height="20"><span class="subline">{LANG_SUBBY} <a href="{PROFILE_LINK}">{STORY_USER_NAME}</a></span></td>
		</tr>
        <tr>
          <td valign="top">{STORY_DESC}</td>
        </tr>
        <tr>
          <td>&nbsp;</td>
        </tr>
        <tr>
          <td valign="bottom"><span class="bottomlinks">{LANG_TOPIC}: <a href="{CAT_URL}">{CAT_TITLE}</a> IF("{STORY_TAGS}"!=""){&nbsp; {LANG_TAGTITLE}: {STORY_TAGS_LINKS}{:IF}</span></td>
        </tr>
      </table></td></tr>
	</table>
	<br>
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-bottom: 1px solid #dedede;">
<tr>
<td><div id="tabsB">
	  <ul>
<li><a href="{SITE_URL}story.php?id={STORY_ID}"><span>Comments ({STORY_COMMENTS})</span></a></li>
<li id="current"><a href="{SITE_URL}story.php?id={STORY_ID}&cmd=dugg"><span>Who Dugg this story?</span></a></li>
<li><a href="{SITE_URL}story.php?id={STORY_ID}&cmd=email"><span>Email This Link</span></a></li>
</ul>
</div></td>
</tr>
</table>
	  <br>
	  <table width="100%" border="0" cellpadding="0" cellspacing="0">
	    <tr>
	{LOOP: DUGG}
	<td width="20%"><table><tr><td><img src="{SITE_URL}{DUGG.avatar}"></td><td><a href="{DUGG.user_link}">{DUGG.username}</a></td></tr></table></td>
	IF("{DUGG.count}"%"5"){</tr><tr>{:IF}
	{/LOOP: DUGG}
	</tr></table>
	<br> 
	<br>
	{LANG_PAGES}: {LOOP: PAGES}<a href="{PAGES.link}">{PAGES.title}</a> {/LOOP: PAGES}
	<br>
	</td>
  </tr>
</table>
{OVERALL_FOOTER}